home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / perl5 / locale.z / locale
Encoding:
Text File  |  1998-10-30  |  1.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. llllooooccccaaaalllleeee((((3333))))                                                            llllooooccccaaaalllleeee((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      locale - Perl pragma to use and avoid POSIX locales for built-in
  10.      operations
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.          @x = sort @y;       # ASCII sorting order
  14.          {
  15.              use locale;
  16.              @x = sort @y;   # Locale-defined sorting order
  17.          }
  18.          @x = sort @y;       # ASCII sorting order again
  19.  
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      This pragma tells the compiler to enable (or disable) the use of POSIX
  23.      locales for built-in operations (LC_CTYPE for regular expressions, and
  24.      LC_COLLATE for string comparison).  Each "use locale" or "no locale"
  25.      affects statements to the end of the enclosing BLOCK.
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.